import http from '@/utils/http.js';

// 获取文件列表
export function getPriceList(params) {
  return http({
    url: '/infra/file-price/list',
    method: 'get',
    params
  });
}

export function packageInfo(data) {
  return http({
    url: '/pay/filePurchase/submit',
    method: 'post',
    data
  });
}

export function getalipayPackageInfo(data) {
  return http({
    url: '/pay/filePurchase/submitMuYun',
    method: 'post',
    data
  });
}

export function getPayWechtResultApi(params) {
  return http({
    url: '/pay/filePurchase/getPayResult',
    method: 'get',
    params
  });
}

export function getPayMuYunResultApi(params) {
  return http({
    url: '/pay/filePurchase/getMuYunPayResult',
    method: 'get',
    params
  });
}
